@layout("/common/_container.html"){
<script src="${ctxPath}/static/js/plugins/laydate/laydate.js"></script>
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>学生管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="stuName" name="学生姓名" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="grade" name="入学年份" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="school" name="学校" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="major" name="专业" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="actName" name="活动名称" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="actYear" name="活动年份" />
                            </div>
                            <div class="col-lg-2 col-sm-3">
                                <div class="row">
                                    <div class="col-lg-12 col-sm-12">
                                        <#button name="搜索" icon="fa-search" clickFun="Stu.search()"/>
                                        <#button name="重置" icon="fa-trash" clickFun="Stu.resetSearch()" space="true"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hidden-xs" id="stuTableToolbar" role="group">
                            @if(shiro.hasPermission("/stu/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Stu.openAddStu()" />
                            @}
                            @if(shiro.hasPermission("/stu/edit")){
                                <#button name="修改" icon="fa-edit" clickFun="Stu.openChangeStu()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/stu/remove")){
                                <#button name="删除" icon="fa-remove" clickFun="Stu.delStu()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/stu/stu_act_list")){
                            <#button name="详情查看" icon="fa-apple" clickFun="Stu.detail()" space="true"/>
                            @}
                        </div>
                        <#table id="stuTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/biz/students/stu.js"></script>
@}
